const mongoose = require('mongoose')

/**
 * 用户类
 */
const AddressSchema = mongoose.Schema({
    openid: String,
    name: String,
    phone: String,
    province: String,
    detail: String,
    postcode: String,
    isDelete: { type: Boolean, default: false }
})

const Address = mongoose.model('address', AddressSchema)

module.exports = Address
